package oops.inheritance;

public class InheritanceDemo {

	public static void main(String[] args) {
		
		
		Child child = new Child("David");
		
		/** Child child = new Child();
		Parent parent = new Parent();
		
		child.sayGoodMorning("Lars");
		child.sayHello("David");
		
		child.sayGoodMorning();
		child.sayHello();
		
		System.out.println("Now parent class methods");
		
		parent.sayGoodMorning();
		parent.sayHello();
		parent.sayGoodNight();
		
		*/
	


	}

}
